package com.dayuanit.dy8.model.sigle.proxy.staticproxy;

public class UserServiceStaticProxy implements UserService {

    private UserService userService = new UserServiceImpl();

    public void saveUser() {
        System.out.println("befor saveUser()");
        userService.saveUser();
        System.out.println("after saveUser()");
    }

    @Override
    public void delUser() {
        userService.delUser();
    }
}
